﻿using System.Collections.Generic;
using System.Domain.Entity;
using Domain.Infrastructure;

namespace System.Domain.IRepository
{

    /// <summary>
    ///组织表接口 
    /// </summary>	
    public interface ISysOrganizeRepository : IRepositoryBase<SysOrganizeEntity>
    {
        /// <summary>
        /// 通过父级 id 查找
        /// </summary>
        /// <param name="typeEnum">类型</param>
        /// <param name="parentId">枚举</param>
        /// <returns></returns>
        List<SysOrganizeEntity> GetParentIdList(SysOrganizeTypeEnum typeEnum, string parentId);

    }

}